home *** CD-ROM | disk | FTP | other *** search
/ PC User 2003 September / Australian PC User - September 2003 (CD1).iso / magstuff / web / files / psp801ev.exe / Data1.cab / Preset_BallsAndBubbles_Refle1 < prev    next >
Encoding:
Text File  |  2003-06-06  |  3.0 KB  |  88 lines

  1. from JascApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': 'Kris Zaklika',
  6.         'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
  7.         'Description': 'A reflecting copper ball',
  8.         'Host': 'Paint Shop Pro',
  9.         'Host Version': '8.00'
  10.         }
  11.  
  12. def Preset_BallsAndBubbles():
  13.     return {
  14.         'Illumination': {
  15.             'MaxAmbience': 50, 
  16.             'MinAmbience': 0, 
  17.             'LightList': [{
  18.                 'BubbleLight': App.Constants.Boolean.true, 
  19.                 'Color': (217,90,11), 
  20.                 'Direction': (0.657816,-0.0438995,-0.316751), 
  21.                 'HighlightSize': 20
  22.                 },{
  23.                 'BubbleLight': App.Constants.Boolean.true, 
  24.                 'Color': (147,75,63), 
  25.                 'Direction': (0.127672,0.201676,-0.940339), 
  26.                 'HighlightSize': 52
  27.                 },{
  28.                 'BubbleLight': App.Constants.Boolean.false, 
  29.                 'Color': (35,48,173), 
  30.                 'Direction': (0.396469,-0.890585,-0.235871), 
  31.                 'HighlightSize': 40
  32.                 },{
  33.                 'BubbleLight': App.Constants.Boolean.true, 
  34.                 'Color': (116,216,178), 
  35.                 'Direction': (-0.48779,-0.869999,-0.688903), 
  36.                 'HighlightSize': 19
  37.                 },{
  38.                 'BubbleLight': App.Constants.Boolean.false, 
  39.                 'Color': (118,68,52), 
  40.                 'Direction': (-0.752093,0.0764903,0.654603), 
  41.                 'HighlightSize': 40
  42.                 },{
  43.                 'BubbleLight': App.Constants.Boolean.false, 
  44.                 'Color': (147,73,63), 
  45.                 'Direction': (0.109804,0.917561,0.382133), 
  46.                 'HighlightSize': 33
  47.                 },{
  48.                 'BubbleLight': App.Constants.Boolean.false, 
  49.                 'Color': (145,96,63), 
  50.                 'Direction': (0.762254,0.0533095,0.645079), 
  51.                 'HighlightSize': 9
  52.                 }]
  53.             }, 
  54.         'Mode': App.Constants.CountType.Single, 
  55.         'Multiple': {
  56.             
  57.             }, 
  58.         'Single': {
  59.             'MaxPossibleSize': App.Constants.Boolean.true
  60.             }, 
  61.         'Surface': {
  62.             'Material': {
  63.                 'Color': (140,101,58), 
  64.                 'Pattern': None, 
  65.                 'Gradient': None, 
  66.                 'Texture': None
  67.                 }, 
  68.             'BumpMap': {
  69.                 'Active': App.Constants.Boolean.true, 
  70.                 'Depth': 60, 
  71.                 'FileName': 'Brushed metal', 
  72.                 'Fit': App.Constants.Boolean.false, 
  73.                 'Size': 350, 
  74.                 'Smoothness': 100
  75.                 }, 
  76.             'EnvironmentMap': {
  77.                 'Active': App.Constants.Boolean.false
  78.                 }, 
  79.             'Gloss': 18, 
  80.             'Opacity': 100, 
  81.             'Shininess': 88
  82.             }
  83.         }
  84.  
  85. def Do(Environment):
  86.     App.Do( Environment, 'BallsAndBubbles',         Preset_BallsAndBubbles())
  87.  
  88.